//
//  PageVewController.h
//  Menu
//
//  Created by trimad on 11-11-11.
//  Copyright 2011 Trimad Group. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Category;
@class UIView;
@class PageLayoutView;

/*
 * 一个PageViewController的实例就是一个UI页面，根据页面风格的不同
 * PageViewController会搭载不同的LayoutView来实现不同样式
 */
@interface PageViewController : UIViewController {
	Category *category;
	// The layout
	UIView *content;
}

@property (nonatomic, retain) Category *category;
@property (nonatomic, retain) UIView *content;

- (id)initWithNibAndLayout:(NSString *)nibNameOrNil 
					bundle:(NSBundle *)nibBundleOrNil 
				pageLayout: (PageLayoutView *) pageLayoutView;
@end
